app.controller('HomeCtrl', function($scope, appService){
    $scope.lang = appService.lang;
    $scope.echo = appService.version;
    
    $scope.$watch('lang', function(){
       appService.lang = $scope.lang;
       $scope.verbose = appService.getVerbose($scope.lang);
       document.title = $scope.verbose.home.pageTitle;
    }, true);
});